<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="fm"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>商品订单修改</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" type="text/css"
	href="statics/css/bootstrap.min.css">

<style type="text/css">
* {
	margin: 0 auto;
	text-align: center;
	font-family: "微软雅黑"
}

#goodsInfo {
	width: 800px;
	margin-top: 50px;
}

#select {
	height: 35px;
}
</style>
</head>

<body>
	<div id="goodsInfo">
		<form>
			<table class="table table-bordered">
				<tr>
					<th>商品编号</th>
					<td><input type="text" id="id" name="id" value="${good.id}"
						readonly="readonly"></td>
				</tr>
				<tr>
					<th>商品名称</th>
					<td><input type="text" id="goodsName" name="goodsName"
						value="${good.goodsName}"></td>
				</tr>
				<tr>
					<th>商品价格</th>
					<td><input type="text" id="goodsPrice" name="goodsPrice"
						value="${good.goodsPrice}"></td>
				</tr>
				<tr>
					<th>库存数量</th>
					<td><input type="text" id="goodsCount" name="goodsCount"
						value="${good.goodsCount}"></td>
				</tr>
				<tr>
					<th>订单状态</th>
					<td><c:if test="${good.billStatus == 0}">
							<select id="select" id="select">
								<option selected="selected" value="0">待处理</option>
								<option value="1">处理中</option>
								<option value="2">已处理</option>
							</select>
						</c:if> <c:if test="${good.billStatus == 1}">
							<select id="select" id="select">
								<option value="0">待处理</option>
								<option selected="selected" value="1">处理中</option>
								<option value="2">已处理</option>
							</select>
						</c:if> <c:if test="${good.billStatus == 2}">
							<select id="select" id="select">
								<option value="0">待处理</option>
								<option value="1">处理中</option>
								<option selected="selected" value="2">已处理</option>
							</select>
						</c:if></td>
				</tr>
				<tr>
					<td colspan="2"><input type="button" value="提 交" id="save"
						class="btn btn-success" /> <input type="button" id="back"
						value="返回" class="btn btn-warning" /></td>
				</tr>
			</table>
		</form>
	</div>

	<script
		src="${pageContext.request.contextPath }/statics/js/jquery-1.11.1.min_044d0927.js"></script>
	<script
		src="${pageContext.request.contextPath }/statics/js/goodsInfo.js"></script>
</body>
</html>
